Skip to content

Implemented Coordinates and Forces

Implemented Spatial Coordinates

These structs define what spatial coordinates are used when solving transport equations.

The currently implemented spatial coordinates include:

CoordinatesCoordinate StructComment
Cartesian MinkowskiCartesian()Standard x,y,z flat Minkowski spacetime
Cylindrical MinkowskiCylindrical()Standard ρ,ϑ,z flat Minkowski spacetime
Spherical MinkowskiSpherical()Standard r,θ,ψ flat Minkowski spacetime

Global to Local Rotation

By default the local ortho-normal basis of momentum is aligned to the local coordinate directions. For Cartesian and Cylindrical spatial coordinates, the momentum-space polar axis is aligned to the z spatial coordinate direction, with the ϕ=0 direction aligned to the spatial x (rho) direction. For Spherical spatial coordinates, the polar axis is instead aligned with the x (r) direction with ϕ=0 aligned to the y (θ) direction.

These default directions may be edited by defining global_to_local_rotation a NTuple{3,Float64} containing three angles (radians normalised by π) (α,β,γ), which give an zxz rotation of the local bases vectors. This can be used to specify the local magnetic field direction with respect to the spatial coordinate bases vectors.

Implemented Forces

These structs define which forces to include when solving the transport equations and depend on the spatial coordinates of the system.

The currently implemented forces include:

External ForceForce StructImplemented Spatial CoordinatesImplemented Momentum Space Anisotropies
Ricci Rotation coefficientsCoordinateForce()Cartesian(), Cylindrical(), Spherical()N/A
Lorentz Force (Uniform and Orthogonal E and B Fields)ExB()Cartesian()N/A
Synchrotron Radiation ReactionSyncRadReact()Cartesian(), Cylindrical(), Spherical()Ani(),Axi(),Iso()
Grad B. Force due to 1/z B FieldInvGradB()Cylindrical()N/A